<!DOCTYPE html>
<html style="height: 100%;">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <meta name="format-detection" content="telephone=no">
    <title></title>
    <script type="text/javascript" src="../js/localstorage.js"></script>
    <link rel="stylesheet" type="text/css" href="../css/zTreeStyle.css">
    <link rel="stylesheet" href="../css/Stylesheet.css">
    <script type="text/javascript" src="../js/jquery.js"></script>
    <script type="text/javascript" src="../js/jquery.ztree.core.js"></script>

    <style type="text/css">

    	*{margin: 0px;padding: 0px;font-size: 12px;}
		button.button,tr td button{padding: 2px 5px;margin:0px 3px;background: #009bce;border-radius: 4px;border: 1px;color: #fff;}
    #tree{
            width: 140px;display: none;position: absolute;background: #fff;
        }
        #list{
            position: absolute;right: 0px;margin-top: 20px;width: 200px;background: #eaeaea;
        }
    </style>
    
    <script type="text/javascript">
        // tree节点点击事件  name为这个节点的值
        function zTreeOnClick(event, treeId, treeNode) {
            $("#site").val(treeNode.name);
        };
        var setting = {
            callback: {
                onClick: zTreeOnClick
            }
        };
        var zNodes =[
            { name:"香港", open:true,
                children: [
                    { name:"九龙区",open:true,
                        children: [
                            { name:"场所A" },
                            { name:"场所B" },
                            { name:"场所C" }
                        ]},
                    { name:"旺角区",open:true,
                            children: [
                            { name:"场所A" },
                            { name:"场所B" },
                            { name:"场所C" }
                        ]},
                    { name:"西贡区",open:true,
                            children: [
                            { name:"场所A" },
                            { name:"场所B" },
                            { name:"场所C" }
                        ]},
                    { name:"油尖旺区",open:true,
                           children: [
                            { name:"场所A" },
                            { name:"场所B" },
                            { name:"场所C" }
                        ]},
                    { name:"深水埗区",open:true,
                           children: [
                            { name:"场所A" },
                            { name:"场所B" },
                            { name:"场所C" }
                           ]}
                ]}
        ];
    $(function(){
        $.fn.zTree.init($("#treeDemo"), setting, zNodes);
    })
    </script>
    <script type="text/javascript">
//      $(function(){
//      
//          $("div").click(function(e){
//              var id = $(this).attr("id");
//              if(id == "aaa"){
//                  return false;
//              }else if(id == "tree"){
//                  return false;
//              }else{
//                  $("#tree").slideUp(300);
//              }
//              return false;
//          })
//
//          $("#site").click(function(e){
//              $("#tree").slideDown(300);
//          })

            // $("#site").blur(function(e){
            //  $("#tree").slideUp(300);
            // })
//          $("#tree").hover(function(){},function(){
//              $("#tree").slideUp(300);
                // $("#site").blur();
//          })
//      })
    </script>

</head>
<body>

	<div class="pageheader">
		<div class="clear"></div>
		<!-- <img src="/Icons/fangke.png" alt="Customers" title="Customers"> -->
		<h1><script>document.write(language.viRecord)</script></h1>
	</div>

	<div class="listFilter">
		<h2><script>document.write(language.Filter)</script><span class="tooltip" style="display: none;"><em>(筛选下表)</em></span></h2>
		<!-- <a href="#" class="tooltoggle">显示/隐藏工具提示</a> -->
		<div class="divider"></div>
	    <table style="width: 100%;">
	        <tbody>
	        	<tr>
		            <td class="FormLabel" style="width: auto;">
                        <script>document.write(language.Place_name)</script>：
                        <div style="display: inline-block; " id="aaa">
                            <input name="site" type="text" id="site" placeholder="Please choose site">
                            <!-- <button class='button select_site'><script>document.write(language.Choice_site)</script></button> -->
                            <div id="tree">
                                <!-- <button style="float: right;" onclick="add()">增加</button> -->
                                <ul id="treeDemo" class="ztree"></ul>
                                </ul>
                            </div>
                        </div>
                        
		            	<script>document.write(language.name)</script>：
		            	<input name="ctl00$ContentPlaceHolder1$txtName" type="text" id="ctl00_ContentPlaceHolder1_txtName">
		            	<script>document.write(language.Interviewee)</script>：
		            	<input name="ctl00$ContentPlaceHolder1$txtPostcode" type="text" id="ctl00_ContentPlaceHolder1_txtPostcode">
		            	<button class='button'><script>document.write(language.Filter)</script></button>
		            	<button class='button'><script>document.write(language.remove)</script></button>
		            </td>
		            <td style="text-align: right;">
		            	<button class='button'><script>document.write(language.create)</script></button>
		            </td>
		        </tr>
		    </tbody>
		</table>
        <div class="formSubmit">
        	
        </div>
	</div>



	<div class="reportResults">
		<table class="list_table" id="ltReport_list" width="100%" cellspacing="0" style="text-align: center;">
			<thead>
				<!-- <tr>
					<td colspan="5" style="text-align:left;line-height: 40px;border-right: 0px;font-weight: bold;padding-left: 30px;">
						<script>document.write(language.weihu_fangke)</script><input type="text" placeholder="search" style="padding: 5px;margin-left: 20px;border-radius: 4px;border:1px solid #ccc;" /></td>
					<td colspan="3" style="text-align:right;line-height: 40px;border-left: 0px;"></td>
				</tr> -->
				<tr>
					<th style="width: 5%;"><script>document.write(language.order_number)</script></th>
					<th style="width: 10%;"><script>document.write(language.name)</script></th>
					<th style="width: 10%;"><script>document.write(language.Visitor_tel)</script></th>
					<th style="width: 10%;"><script>document.write(language.Interviewee)</script></th>
					<th style="width: 10%;"><script>document.write(language.Interviewee_tel)</script></th>
					<th style="width: 15%;"><script>document.write(language.Visiting_address)</script></th>
					<th style="width: 8%;"><script>document.write(language.Reservation_date)</script></th>
					<th style="width: 8%;"><script>document.write(language.Appointment)</script></th>
					<th style="width: 8%;"><script>document.write(language.Visiting_time)</script></th>
					<th style="width: 15%;"><script>document.write(language.operation)</script></th>
				</tr>
			</thead>
			<tbody>
				<tr class="odd_row">
					<td>1</td>
					<td>Chan Da Min</td>
					<td>12345678912</td>
					<td>Xiao Min</td>
					<td>98765432111</td>
					<td>No. 17, Taoyuan Road, layer 3, 1201</td>
					<td>10-08-2017</td>
					<td>08:00</td>
					<td>2H</td>
					<td>
						<button><script>document.write(language.edit)</script></button>
						<button><script>document.write(language.delete)</script></button>
						<button><script>document.write(language.Blacklist)</script></button>
					</td>
				</tr>
				<tr class="even_row">
					<td>1</td>
					<td>Zhang San	</td>
					<td>12345678912</td>
					<td>Li Feng</td>
					<td>98765432111</td>
					<td>No. 17, Taoyuan Road, layer 3, 1201</td>
					<td>10-08-2017</td>
					<td>09:00</td>
					<td>2H</td>
					<td>
						<button><script>document.write(language.edit)</script></button>
						<button><script>document.write(language.delete)</script></button>
						<button><script>document.write(language.Blacklist)</script></button>
					</td>
				</tr>
				
			</tbody>
			
		</table>

		<div class="ExportLinks">
			<a href="#"><script>document.write(language.Export_all_to)</script> Excel</a>
			<a href="#"><script>document.write(language.Export_this_page_to)</script> Excel</a>
			<a href="#"><script>document.write(language.Export_this_page_to)</script> PDF</a>
			<a href="#"><script>document.write(language.Export_all_to)</script> PDF</a>
				<a href="#"><script>document.write(language.send)</script> <script>document.write(language.email)</script></a>
		</div>

		<div class="WhereToLinks"></div>

	</div>

	



</body>
</html>